home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2007 December
/
PCWKCD1207B.iso
/
+ TYLKO W WERSJI CYFROWEJ +
/
PCWK_PROG
/
Source
/
120
/
ukryte5
/
fukryte5.h
< prev
next >
Wrap
C/C++ Source or Header
|
2007-07-05
|
2KB
|
50 lines
//---------------------------------------------------------------------------
#ifndef fukryte5H
#define fukryte5H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
#include <ExtDlgs.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TScrollBox *ScrollBox1;
TScrollBox *ScrollBox2;
TImage *Image1;
TImage *Image2;
TPanel *Panel2;
TOpenPictureDialog *OpenPictureDialog1;
TSavePictureDialog *SavePictureDialog1;
TPanel *Panel1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TButton *Button1;
TButton *Button2;
TButton *Button3;
TEdit *Edit1;
void __fastcall Button1Click(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
void __fastcall Button3Click(TObject *Sender);
private: // User declarations
int X_POZ, Y_POZ, RGB_POZ, BIT_POZ; //pozcja odczytywanego bitu
int id, s, w, il_r, il_g, il_b; //atrybuty odczytywane z nag│≤wka
bool odczytaj_naglowek( void);
int daj_bit( unsigned char bajt, int poz);
unsigned char ustaw_bit( unsigned char bajt, int poz, int val);
int odczytaj_bit( void);
int odczytaj_bajt( void);
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif